﻿using System;

namespace Gmantis.Uploader
{
    public enum MultipartPostEncoding
    {
        Binary,
        Base64
    }

    public class UploadManagerSettingsPost : UploadManagerSettings
    {
        // Fields
        private string _boundary;
        private MultipartPostEncoding _transferEncoding;

        // Methods
        public UploadManagerSettingsPost()
            : this(null)
        {
        }

        public UploadManagerSettingsPost(Uri address)
            : base(address)
        {
        }

        // Properties
        public string Boundary
        {
            get
            {
                return this._boundary;
            }
            set
            {
                this._boundary = value;
            }
        }

        public MultipartPostEncoding TransferEncoding
        {
            get
            {
                return this._transferEncoding;
            }
            set
            {
                this._transferEncoding = value;
            }
        }
    }
}
